home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / ytbeta2c.zip / YTSYSOP.DOC < prev   
Text File  |  1991-01-28  |  17KB  |  377 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                   Y     Y AAAAA   N    N K  K EEEEE EEEEE
  7.                    Y   Y  A   A   NN   N K K  E     E
  8.                     Y Y   AAAAA   N N  N KK   EEE   EEE
  9.                      Y    A   A   N  N N KK   E     E
  10.                      Y    A   A   N   NN K K  E     E
  11.                      Y    A   A   N    N K  K EEEEE EEEEE
  12.  
  13.                     TTTTTTT RRRR AAAAA DDDD  EEEEE RRRR !!
  14.                        T    R  R A   A D   D E     R  R !!
  15.                        T    RRRR AAAAA D   D EEE   RRRR !!
  16.                        T    RR   A   A D   D E     RR   !!
  17.                        T    R R  A   A D   D E     R R
  18.                        T    R  R A   A DDDD  EEEEE R  R !!
  19.  
  20.  
  21.                               by Alan Davenport
  22.  
  23.  
  24.  
  25.  
  26.         "It is a period of great instability. Mankind has broken the time and
  27. distance barrier to the stars with inexpensive warp driven space ships. Anyone
  28. with enough credits can buy a ship and head out into the void. Chaos rules.
  29. The central Earth government found that it is impossible to maintain law and
  30. order throughout the vastness of space and on the countless outposts that have
  31. appeared almost overnight. The only law is of survival. The only hope for
  32. survival is in strength. The only way to strength is through ruthless trading
  33. of basic goods. It seems that all ports always have too much or too little of
  34. one thing or another. You've purchased your ship, barely able to afford the
  35. minimum of holds, defensive fighters, a few remote sensor robots, and a few
  36. days cloaking charge. An ant to be squashed by the more powerful trader
  37. barons. However, you are smart. You are confident that you can hide out long
  38. enough to equip your ship with more powerful arms and holds and that you will
  39. one day be a trader baron to be feared!"
  40.  
  41.  
  42.         Yankee Trader is the result of thousands of hours of work. The total
  43. source code is well over 15 THOUSAND lines. While being developed, it was
  44. completely rewritten from top to bottom many times over. Afterward, many
  45. months of fine tuning, to achieve a decent game balance, followed.
  46.  
  47.  
  48.         Yankee Trader is a space trading/war game. There are several different
  49. door games of this genre. The original idea for such a game was called "Trade
  50. Wars (c)" which was first published by Hewlett Packard in "The People's Book
  51. of Computer Games 1 and 2" and was first converted to a BBS door by Chris
  52. Sherrick. The door game became very popular and several other space
  53. trading/war games have appeared in recent years.
  54.  
  55.  
  56.         Yankee Trader takes the idea of a space trading/war game to new
  57. heights. There are many new ideas and enhancements to the old theme. The idea
  58. of a space trading/war game still remains, the result however is something
  59. entirely different, YANKEE TRADER!
  60.  
  61.  
  62.         This door is the result of my love for programming. I have fixed every
  63. bug that I have found and I believe that it is reasonably clean however it is
  64. NOT a commercial product but the result of programming for a hobby. As such
  65. there is NO GUARANTEE OF ANY KIND EXPRESSED OR IMPLIED. IN NO CASE SHALL I BE
  66. HELD RESPONSIBLE FOR ANY DAMAGES OR LOSSES RESULTING FROM YOU RUNNING THIS
  67. SOFTWARE, EVEN IF I HAVE BEEN INFORMED OF POSSIBLE OR REAL PROBLEMS. BY
  68. RUNNING THIS SOFTWARE YOU HAVE AGREED TO TAKE RESPONSIBILITY FOR ANY PROBLEMS
  69. THAT MAY RESULT. IF YOU DO NOT AGREE TO THIS, DO NOT RUN ANY OF THE PROGRAMS
  70. IN THIS PACKAGE. NOT EVEN ONCE!
  71.  
  72.  
  73. General information :-
  74.  
  75. This door uses the Microsoft QuickBasic 3.0 run time module BRUN30.EXE. The
  76. reason for using the run time module instead of making stand alone programs is
  77. to keep the distribution package a reasonable size.. otherwise it would be
  78. almost 600K! This copy of the run time module has been patched so that it does
  79. NOT cause the modem to hang up on the caller when they exit the door. It ALSO
  80. has been patched so that it will EXIT if ever the message "Fatal Error, Hit
  81. any key to return to the system" appears providing you with an extra level of
  82. protection against hanging your system in the event of a severe error/bug!
  83.  
  84.         BRUN30 doesn't HAVE to be in the directory with the game files, just
  85. as long as it is in your system PATH someplace. Since this copy has the extra
  86. patches applied to it and if you have other doors that use BRUN30, you may
  87. want to put it in your path (Utilities directory?) and delete all other copies
  88. of BRUN30 you may have. This will save you some disk space and also give you
  89. extra protection while running other BRUN30 dependent doors. However if you do
  90. not use BRUN30 any other place, you should place it in your YT directory. This
  91. will make the game load marginally faster since your system doesn't have to
  92. search the entire path to find BRUN30.
  93.  
  94.  
  95. Getting set up :-
  96.  
  97.         Starting with the basics, decide which drive you wish to run the door
  98. on and make a directory to hold all the files. Move ALL of the files in this
  99. package into that directory. You are now ready to run the initialization
  100. program.
  101.  
  102.  
  103. Initializing the game :-
  104.  
  105.         Before you can run the game, you must run the initialization program
  106. "YT-INIT.EXE". This program will set up ALL the data files needed to run the
  107. game. You can also run YT-INIT any time you wish to restart an old game. The
  108. game is open ended and you will never HAVE to run YT-INIT but sometimes, when
  109. a game starts to get old, you may wish to restart everyone over fresh.
  110.  
  111.         IMPORTANT: If you were previously running one of the BETA TEST
  112. versions of YT, you REALLY SHOULD reinitialize the game! There were a lot of
  113. bugs to be fixed in many of the betas and there may be some mangled fields in
  114. your game's data files!
  115.  
  116.         There is one piece of information you will need to give to the
  117. initialization program. That is the full path and NAME of the scoreboard
  118. bulletin. This is a straight ASCII text file that you can display from your
  119. BBS. The maximum length of your scoreboard path/name description is 41
  120. characters. An example of an entry for a scoreboard file is;
  121.  
  122. C:\QUICKBBS\TXTFILES\YTSCORE.ASC
  123.  
  124.         You may change the scoreboard description any time you wish by using
  125. the game's configuration program. (If you get an error when the game tries to
  126. generate the scoreboard you messed up the path/name somehow!)
  127.  
  128.         Once you are done running YT-INIT, you should bring up the game's
  129. configuration program by typing "YTCONFIG.EXE". The default setting provided
  130. by the initialization program will provide a decent game however, once you
  131. become more familiar with the game, you may wish to change some of them
  132. around.
  133.  
  134.  
  135. The "RMT-INIT.EXE" Program :-
  136.  
  137.         This program is used by YT.EXE itself to run the user "Initiate
  138. Genesis" function. When called by the game it will run with no intervention.
  139. It takes your old, previously defined defaults and re-initializes the game.
  140. You will find this program useful to re-start the game yourself. When run from
  141. the DOS prompt, it will ask you if you REALLY want to re-start the game using
  142. your old defaults. RMT-INIT.EXE will NOT do an initial initialization. To use
  143. this program, you must have initialized the game using YT-INIT.EXE previously.
  144.  
  145.  
  146. Running Maintenance :-
  147.  
  148.         The first thing you should do after YT-INIT completes successfully is
  149. type YTMAINT and press enter in the game's directory. THIS IS IMPORTANT TO
  150. INITIALIZE SOME OF THE AUTOMATIC FUNCTIONS! After this, you should add an
  151. entry in your system maintenance batch file to run YTMAINT.EXE EVERY day ONCE
  152. per DAY. YTMAINT is in integral part of Yankee Trader and if you do NOT run it
  153. on daily basis you will SEVERELY inhibit the game! (Perhaps RUIN the game is a
  154. better description!) An example of the batch file entries needed to be added
  155. to your SYSMAINT.BAT file are below;
  156.  
  157. c:
  158. cd \quickbbs\doors\yt
  159. ytmaint.exe
  160. cd \quickbbs
  161.  
  162.  
  163. Running Yankee Trader :-
  164.  
  165.         Yankee Trader uses the file created by QuickBBS and other BBS programs
  166. use to pass information to door programs called DORINFO1.DEF. To run YT, you
  167. must pass the path and NAME of the DORINFO1.DEF file to YT on the command
  168. line. There are converters to make DORINFO1.DEF for just about all other BBS
  169. programs out there. If you are running a BBS that does NOT produce
  170. DORINFO1.DEF itself, look around on other established BBS's with a decent
  171. files area. You should be able to find a converter for your particular BBS
  172. software with little effort.
  173.  
  174. An example of how to start YT is below;
  175.  
  176. YT.EXE C:\QUICKBBS\DORINFO1.DEF
  177.  
  178.  
  179. Playing YT withOUT a BBS! :-
  180.  
  181.         I have included a program that you can use to log onto the game
  182. WITHOUT having a BBS! The program is called "LOCAL.EXE" and all you have to do
  183. to run it is to type "LOCAL" in your YT directory. Once the program starts,
  184. enter the name you wish to use to log into the game. Once you enter a name, it
  185. will load and start Yankee Trader automatically.
  186.  
  187.         "LOCAL" keeps a record of the names you use to log into the game in a
  188. file called "LOCAL.DAT". The next time you use "LOCAL", you will be able to
  189. pick your name from a menu, rather than typing it in. Once there are names in
  190. the "LOCAL" menu, you may start "LOCAL" by typing "LOCAL #" where "#" is the
  191. number of user on the "LOCAL" menu. This will go right into YT without you
  192. having to wait for the menu to display. Any time you wish to start the menu
  193. over, just delete "LOCAL.DAT".
  194.  
  195.         I've included the Quickbasic 3.0 source code (LOCAL.BAS) and the batch
  196. file I use to compile the program (LOCALCMP.BAT) for the curious among you. It
  197. should be possible to modify it to load ANY door that uses DORINFO1.DEF. Have
  198. fun!
  199.  
  200.  
  201. Running YT from your BBS :-
  202.  
  203.         Yankee Trader, even using the run time module, takes a lot of memory.
  204. At LEAST 300K for the 1.0 version. Later versions probably will take even
  205. MORE. For this reason you should NOT use a type 7 (Shell to program) exit from
  206. QuickBBS. What you MUST do is a type 15 (Exit with errorlevel) exit. An
  207. example of a batch file to run YT from a QuickBBS type 15 exit is included
  208. with this package and is shown below;
  209.  
  210. Echo off
  211. :RESTART
  212. c:
  213. cd \quickbbs
  214. quickbbs %1
  215.  
  216. :afterbbs
  217.  
  218. if errorlevel 50 goto YT
  219. if errorlevel 1 goto RESTART
  220.  
  221. Rem Allow exiting of batch file.
  222. goto endit
  223.  
  224. :RELOGIN
  225. c:
  226. cd \quickbbs
  227. quickbbs -r -e1
  228. goto afterbbs
  229.  
  230. :YT
  231. Rem Yankee Trader Batch File
  232. c:
  233. cd \quickbbs\doors\yt
  234. yt.exe c:\quickbbs\dorinfo1.def
  235. goto relogin
  236.  
  237. :Endit
  238. Echo QuickBBS is now down.
  239.  
  240.  
  241.         Using that batch file, you would set a type 15 exit on your YT menu
  242. using your QuickBBS menu editing program for the menu entry to load YT and
  243. place a "50" to exit with errorlevel 50 in the "Other Data" field.
  244.  
  245.  
  246. Dealing with problem players, "LOCKOUT.DAT" :-
  247.  
  248. You may lock anyone out of the game by placing their name in a file called
  249. "LOCKOUT.DAT". This file can be edited with any text editor. To use it, place
  250. the players REAL name as it appears on your BBS in "LOCKOUT.DAT" and they will
  251. be denied access to the game until you remove their name from "LOCKOUT.DAT".
  252.  
  253.  
  254. Function Keys in YT :-
  255.  
  256. There are 5 function keys active on Yankee Trader. They are;
  257.  
  258. F4  - Toggles Local (Console) sounds on and off. Default is OFF when a remote
  259.       caller is online and ON when you are playing in the local mode. The
  260.       users can control their own remote sounds and they are totally
  261.       independent of the local sounds.
  262.   
  263. F5  - End now! This is the "nuke" key. Hitting F5 will close all files and
  264.       the communication port, and exit immediately.
  265.  
  266. F8  - Adjust users time in the door. You will be prompted for how much time to
  267.       give the player. (Either more or less time.) Enter the time in minutes.
  268.       45 minutes maximum. 0 will log them off. (F5 is quicker.)
  269.  
  270. F9  - Toggle local screen ON/OFF for remote callers. Has no effect when logged
  271.       on locally.
  272.  
  273. F10 - Chat with online user. This will allow you to type in real time with a
  274.       user logged into the game. The user's time does not decrease in chat.
  275.       Hit [ESCAPE] to terminate chat with the user.
  276.  
  277.  
  278. Running at a locked Baud Rate :-
  279.  
  280.         Yankee Trader runs just fine locked at 19200. It does NOT run at 38400
  281. unfortunately since that is not a valid baud Rate for QuickBasic 3.0! There is
  282. nothing I can do about that. Sorry. To run locked at 19200, you will have to
  283. use a program JUST BEFORE you load YT to change the baud rate in DORINFO1.DEF
  284. to 19200. I personally use "SOFTBAUD" which works just fine.
  285.  
  286.  
  287. Problems? :-
  288.  
  289. That's basically it on setup. Some common problems you might run into are:
  290.  
  291. Problem: "When someone uses the autopilot, the game crashes".
  292. Answer : Not enough memory. The door needs at least 300K to run.
  293.  
  294. Problem: "The door runs for a while then locks up tight."
  295. Answer : There is enough memory to let the game start, but not enough to hold
  296.          all the variables once the game has run for a while. Give it MORE
  297.          ROOM to run in!
  298.  
  299. Problem: "The door hangs up the phone on my users when they try to exit back
  300.          to my BBS."
  301. Answer : You are NOT using the specially patched version of BRUN30.EXE
  302.          provided! (OR you have another version someplace in your system path
  303.          someplace that is being found BEFORE the patched version.)
  304.  
  305. Problem: "The game crashes when generating the scoreboard."
  306. Answer : You have the path/name set up to and invalid path/name. Use YTCONFIG
  307.          and fix the path/name.
  308.  
  309. Problem: "The door reports 'Command line missing. Aborting!'"
  310. Answer : You MUST pass on the command line the path/name of/to DORINFO1.DEF.
  311.  
  312. Problem: "The door will not start and reports a problem accessing DORINFO1.DEF"
  313. Answer : You may have passed an invalid path to DORINFO1.DEF OR you just
  314.          passed the PATH. You must pass both the path AND the name. (See the
  315.          example.)
  316.  
  317.  
  318. Suggestions and Reporting Bugs :-
  319.  
  320.         This is the most sticky thing about writing doors. Why? I find that
  321. 90% of all bugs reported are NOT really bugs and that when 90% of real bugs
  322. are reported I am not given enough information to track down and SOLVE the
  323. problem! This is extremely irritating and frustrating to me and makes me want
  324. to hang it all up and forget about it all!
  325.  
  326.         If a you do not like the way a routine works that is NOT a bug and
  327. rather than reporting it as one it is much less irritating if you make a
  328. SUGGESTION for a change and/or and improvement. Before making a suggestion
  329. think to yourself 'Is it practical?' I receive "suggestions" all the time
  330. (usually by non-programmers) that, if implemented, would totally change the
  331. game or would take so much to implement that it would take a lifetime to add!
  332. (I do this in my spare time as a hobby!) A LOT of thought has gone into the
  333. game and establishing a reasonable game balance. Think about your suggestion.
  334. Will it enhance the game or will it just mess up the game balance? I DO listen
  335. to suggestions when they are well though out and when they are accompanied by
  336. an explanation of just WHY the person thinks that it would enhance the game.
  337.  
  338.         When reporting real bugs (crashes, non-functioning or malfunctioning
  339. routines) please, before reporting it to me, gather as much information as
  340. possible. Write down the EXACT circumstances that cause the bug to appear. If
  341. I cannot reproduce the problem, I cannot fix it! Nothing is more frustrating
  342. to me, as a programmer, to know that there is a problem however am unable to
  343. do anything about it since it was reported with too little information to
  344. track it down!! Please be explicit and detailed when reporting any problems
  345. you may encounter otherwise you are wasting your time and irritating the
  346. person who spent so much time to bring YT to you. Thank you!
  347.  
  348.  
  349. Old Beta Test Versions :-
  350.  
  351.         Please destroy any of the old beta test versions you may have lying
  352. around. Remove them from your files area. The beta's all had bugs in them,
  353. some more severe than others. It is best that they be destroyed.
  354.  
  355.  
  356. Registration of Yankee Trader :-
  357.  
  358.         Please see "REGISTER.DOC" for information on how to register this
  359. door.
  360.  
  361.  
  362. Getting New Versions :-
  363.  
  364.         You can always download the latest version of Yankee Trader from my
  365. BBS. OR you may file request it from 1:13/75 any time but National Mail Hour
  366. and the time period from 23:00 to 24:00 Eastern time. My BBS phone number is
  367. 1-717-686-3037 9600 HST.
  368.  
  369.  
  370. A Final Word :-
  371.  
  372.         I wish to thank everyone who has helped test the early, buggy beta
  373. test versions of Yankee Trader. I was going to try to list you all but I am
  374. afraid that I would miss someone and insult them by leaving their name out. So
  375. I'll just say this; "Thank you one and all. Your help was appreciated more
  376. than you can ever know!"
  377.